package com.qf.news.service;

import com.github.pagehelper.PageInfo;
import com.qf.news.entity.NewsDetail;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_news
 * @Package com.qf.news.service
 * @Description: ${TODO}
 * @Date 2021/10/3 17:48
 */
public interface NewsDetailService {

    void deleteById(Integer id);
    List<NewsDetail> findAll();
    PageInfo<NewsDetail> findByNameAndPage(Integer pageNum,Integer pageSize,String name);
}
